-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fix for rrf documentation test using a knn retriever #120112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for rrf documentation test using a knn retriever #120112
Conversation
Documentation preview: |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for the review @john-wagster ! Made a small additional change, would appreciate a fresh look whenever you have some time! |
Pinging @elastic/es-docs (Team:Docs) |
docs/reference/search/search-your-data/retrievers-examples.asciidoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💔 Backport failed
You can use sqren/backport to manually backport by running |
In the
retrievers-examples
documentation, a test was failing due to unexpected ordering of theknn
sub-retriever. In this PR, we ensure that we're using aflat
indexer to ensure consistent and deterministic scoring and results for the tests.Closes #119485 and #119155